package com.green.service.common;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.green.common.page.Pagination;

/**
 * @author caixing
 * @time 2011-2-1 上午
 */
public interface GetValueService extends BaseService {
	@SuppressWarnings("rawtypes")
	Pagination<HashMap> getVlaueList(String sqlid,Pagination<HashMap> pagination,String sqlParams,String orderBy);
	/**
	 * 通过按键输入的参数取出对应的数据
	 * @param sqlid Ibatis sql文件中对应的SQLID
	 * @param sqlParams 按键输入的参数
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	List getValueByKey(String sqlid, Map<String, Object> params);

	Pagination<Object> getValueListBySqlId(String sqlid, Pagination<Object> pagination,String sqlParams);
	
	@SuppressWarnings("rawtypes")
	Pagination<Object> getValueListBySqlId(String sqlid, Pagination<Object> pagination,Map sqlParams);

}
